
#include "DocWidget.h"

DockWidget::DockWidget(const QString &Name, QWidget *parent, Qt::WindowFlags flags)
	: QDockWidget(parent, flags)
{
	setObjectName(Name + QLatin1String(" Dock Widget"));
	setWindowTitle(objectName() + QLatin1String(" [*]"));
	setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea);
	layout = new QBoxLayout(QBoxLayout::Direction::LeftToRight);
	widg = new QWidget;
}
void DockWidget::setupDocWidget()
{
	//widg->setLayout(layout);
	setWidget(widg);
}



